<?php if(!defined('PHPOK_SET')){die('<h3>Error...</h3>');}?><?php QG_C_TEMPLATE::p("inc.head","","0");?>

<div id="bd">
	<div id="toolbar" class="clearfix">
		<div id="md_sitemap">
		    <a href="index.php"><?php echo $system[sitename];?></a>
		    <a href="home.php">网站首页</a>
		    <?php $_i=0;$lead_menu=(is_array($lead_menu))?$lead_menu:array();foreach($lead_menu AS  $key=>$value){$_i++; ?>
		    <a href="<?php echo $value[url];?>"><?php echo $value[name];?></a>
		    <?php } ?>
		</div>
		<?php QG_C_TEMPLATE::p("inc.search","","0");?>
	</div>
	<div id="md_pdcate"><ul class="clearfix">
		<?php $_i=0;$left_catelist=(is_array($left_catelist))?$left_catelist:array();foreach($left_catelist AS  $key=>$value){$_i++; ?>
		<li <?php if($key%2==0) echo 'class="left"';?>>
			<a  class="pic" href="list.php?id=<?php echo $value[id];?>" ><img src="<?php echo $value[pic];?>"/></a>
			<div class="name"><a href="list.php?id=<?php echo $value[id];?>" <?php if($value[id] == $id){?>class="on"<?php } ?> ><?php echo $value[catename];?></a></div>
			<p><?php echo $value[note];?></p>
		</li>
		<?php } ?>
	</ul></div>
</div>

<?php QG_C_TEMPLATE::p("inc.foot","","0");?>